/*
 * $Id$
 */
package corejs.parser;

import corejs.Token;

public class SyntaxError extends RuntimeException {
   
   public SyntaxError() {
      super("Syntax error");
   }
   
   public SyntaxError(final Token tk) {
      super(tk.text());
   }
}
